<?php
namespace backend\controllers;

use Yii;
use yii\web\Controller;
use yii\filters\VerbFilter;
use yii\filters\AccessControl;
use common\models\LoginForm;
use yii\web\ForbiddenHttpException;
use yii\base\Module;
use yii\web\User;
use yii\di\Instance;

/**
 * Site controller
 */
class HelloController extends Controller
{
    /**
     * @inheritdoc
     */
    public function actions()
    {
        return [
            'error' => [
                'class' => 'yii\web\ErrorAction',
            ],
        ];
    }

    /**
     * Displays homepage.
     *
     * @return string
     */
    public function actionIndex()
    {
//         return $this->render('index');
//         echo "hello world";

//         p(User::className());
//         $res = Instance::ensure('user', User::className());
        
//         p($res);
        
    }

  
}
